package com.top10.mapper;

import com.top10.entity.CouponGoods;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.top10.entity.vo.CouponVo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author su
 * @since 2018-10-01
 */
public interface CouponGoodsMapper extends BaseMapper<CouponGoods> {
    List<Map<String, Object>> selectgoodscoupon(@Param("goodsuuid")String goodsuuid);
    List<Map<String, Object>> selectshopcoupon(@Param("shopuuid")String shopuuid, @Param("requirementAmount")BigDecimal requirementAmount);
    List<CouponVo> selectshopcouponone(@Param("shopuuid")String shopuuid, @Param("requirementAmount")BigDecimal requirementAmount);
    List<Map<String, Object>> selectshopcoupontwo(@Param("shopuuid")String shopuuid);

}